define(function (require, exports, module) {
	var Grid = require("grid");
	var store = require("store");
	var aw = require("ajaxwrapper");
	var store =require("store");
	var activeUser = store.get("user");
	var Dialog = require("dialog");		
	var Form = require("form");
    var instance = {
        initComponent: function (params,widget) {
        	var examineGrid = new Grid({
                parentNode: ".J-examineGrid", 
                model : {
                	id:"subGrid",
                    columns : [{
                    	name:"sequenceNumber",
        				label:"审批次序"
        			},{
						name:"commitTime",
						label:"时间",
						format:"date"
					},{
						name:"checker.name",
						label:"操作人"
					},{
        				name:"note",
        				label:"原因/意见"
					},]
                }
            });
        	$(".J-examineGrid").find(".box-content").before($("<div></div>").addClass("box-header")
					.append($("<div></div>").addClass("title").text("审批流")));
            widget.set("examineGrid",examineGrid);
        }
    };
    module.exports = instance;
});